package entity;

import java.io.Serializable;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.Date;

public class exam  implements Serializable {

    /**
     * 主键id
     */
    private int id;

    private String tempDate_first;

    private String tempDate_last;

    private String tempTime_first;

    private String tempTime_last;

    //日期
    private String date;

    //时间
    private String time;


    private String date_time;

    //上午or下午
    private String amorpm;

    //年级
    private String major;

    //年级
    private String year;

    //考试课程名称
    private String classname;

    //考试课程
    private String course;

    //考试
    private int classroom;

    //监考老师
    private int teachers;

    private TeacherTable teacherObj;

    private ClassroomTable classroomObj;

    public ClassroomTable getClassroomObj() {
        return classroomObj;
    }

    public void setClassroomObj(ClassroomTable classroomObj) {
        this.classroomObj = classroomObj;
    }

    public TeacherTable getTeacherObj() {
        return teacherObj;
    }

    public void setTeacherObj(TeacherTable teacherObj) {
        this.teacherObj = teacherObj;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getAmorpm() {
        return amorpm;
    }

    public void setAmorpm(String amorpm) {
        this.amorpm = amorpm;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public String getCourse() {
        return course;
    }

    public void setCourse(String course) {
        this.course = course;
    }

    public int getClassroom() {
        return classroom;
    }

    public void setClassroom(int classroom) {
        this.classroom = classroom;
    }

    public int getTeachers() {
        return teachers;
    }

    public void setTeachers(int teachers) {
        this.teachers = teachers;
    }

    public String getTempDate_first() {
        return tempDate_first;
    }

    public void setTempDate_first(String tempDate_first) {
        this.tempDate_first = tempDate_first;
    }

    public String getTempDate_last() {
        return tempDate_last;
    }

    public void setTempDate_last(String tempDate_last) {
        this.tempDate_last = tempDate_last;
    }

    public String getTempTime_first() {
        return tempTime_first;
    }

    public void setTempTime_first(String tempTime_first) {
        this.tempTime_first = tempTime_first;
    }

    public String getTempTime_last() {
        return tempTime_last;
    }

    public void setTempTime_last(String tempTime_last) {
        this.tempTime_last = tempTime_last;
    }

    public String getDate_time() {
        return date_time;
    }

    public void setDate_time(String date_time) {
        this.date_time = date_time;
    }
}
